mod fibnacci;

fn main() {
    let num = 20;
    let sum = fibnacci::odd_fibnacci_sum(num);
    println!("{sum}");


    use std::fs::File;
    use std::io::Write;
    std::fs::create_dir_all("./output").expect("Unable to create directory");
    let mut file = File::create("./output/s5.txt").expect("Unable to create file");
    writeln!(file, "{sum}").expect("Unable to write data");
}
